|
Foxit PDF SDK
|
继承自 FoxitPDFSDKPython2._object .
Public 成员函数 | |
| def | DialogDescriptionElement () |
| 构造函数。 | |
| def | DialogDescriptionElement (dlg_des_element) |
| 构造函数,使用另一个对话框描述元素对象。 更多... | |
| def | DialogDescriptionElement (name, item_id, type, next_tab, width, height, char_width, char_height, font, bold, italic, alignment, align_children, element_array) |
| 构造函数,带参数。 更多... | |
| def | Set (name, item_id, type, next_tab, width, height, char_width, char_height, font, bold, italic, alignment, align_children, element_array) |
| 设置值。 更多... | |
静态 Public 属性 | |
| align_children = _fsdk.DialogDescriptionElement_align_children | |
| 所有子元素的对齐方式。 | |
| alignment = _fsdk.DialogDescriptionElement_alignment | |
| 此元素的对齐方式。 | |
| bold = _fsdk.DialogDescriptionElement_bold | |
| 指定字体是否为粗体。 | |
| char_height = _fsdk.DialogDescriptionElement_char_height | |
| 指定元素的高度(以字符为单位)。 更多... | |
| char_width = _fsdk.DialogDescriptionElement_char_width | |
| 指定元素的宽度(以字符为单位)。 更多... | |
| element_array = _fsdk.DialogDescriptionElement_element_array | |
| 描述此对话框元素子元素的对象字面量数组。 | |
| font = _fsdk.DialogDescriptionElement_font | |
| 此元素使用的字体。 更多... | |
| height = _fsdk.DialogDescriptionElement_height | |
| 指定元素的高度(以像素为单位)。 更多... | |
| italic = _fsdk.DialogDescriptionElement_italic | |
| 指定字体是否为斜体。 | |
| item_id = _fsdk.DialogDescriptionElement_item_id | |
| 此对话框的项目ID。 | |
| name = _fsdk.DialogDescriptionElement_name | |
| 对话框元素的显示名称。 | |
| next_tab = _fsdk.DialogDescriptionElement_next_tab | |
| Tab顺序中下一个对话框项目的项目ID。 | |
| type = _fsdk.DialogDescriptionElement_type | |
| 此对话框元素的类型。 | |
| width = _fsdk.DialogDescriptionElement_width | |
| 指定元素的宽度(以像素为单位)。 更多... | |
此类表示对话框元素属性,指定具有以下属性集的对象字面量。
| def FoxitPDFSDKPython2.DialogDescriptionElement.DialogDescriptionElement | ( | name, | |
| item_id, | |||
| type, | |||
| next_tab, | |||
| width, | |||
| height, | |||
| char_width, | |||
| char_height, | |||
| font, | |||
| bold, | |||
| italic, | |||
| alignment, | |||
| align_children, | |||
| element_array | |||
| ) |
构造函数,带参数。
| [in] | name | 对话框元素的显示名称。 |
| [in] | item_id | 此对话框的项目ID。 |
| [in] | type | 此对话框元素的类型。 |
| [in] | next_tab | Tab顺序中应该是第一个的对话框项目的项目ID。 |
| [in] | width | 指定元素的宽度(以像素为单位)。 |
| [in] | height | 指定元素的高度(以像素为单位)。 |
| [in] | char_width | 指定元素的宽度(以字符为单位)。 |
| [in] | char_height | 指定元素的高度(以字符为单位)。 |
| [in] | font | 此元素使用的字体。 |
| [in] | bold | 指定字体是否为粗体。 |
| [in] | italic | 指定字体是否为斜体。 |
| [in] | alignment | 此元素的对齐方式。 |
| [in] | align_children | 所有子元素的对齐方式。 |
| [in] | element_array | 描述此对话框元素子元素的对象字面量数组。 |
| def FoxitPDFSDKPython2.DialogDescriptionElement.DialogDescriptionElement | ( | dlg_des_element | ) |
构造函数,使用另一个对话框描述元素对象。
| [in] | dlg_des_element | 另一个对话框描述元素对象。 |
| def FoxitPDFSDKPython2.DialogDescriptionElement.Set | ( | name, | |
| item_id, | |||
| type, | |||
| next_tab, | |||
| width, | |||
| height, | |||
| char_width, | |||
| char_height, | |||
| font, | |||
| bold, | |||
| italic, | |||
| alignment, | |||
| align_children, | |||
| element_array | |||
| ) |
设置值。
| [in] | name | 对话框元素的显示名称。 |
| [in] | item_id | 此对话框的项目ID。 |
| [in] | type | 此对话框元素的类型。 |
| [in] | next_tab | Tab顺序中第一个对话框项目的项目ID。 |
| [in] | width | 指定元素的宽度(以像素为单位)。 |
| [in] | height | 指定元素的高度(以像素为单位)。 |
| [in] | char_width | 指定元素的宽度(以字符为单位)。 |
| [in] | char_height | 指定元素的高度(以字符为单位)。 |
| [in] | font | 此元素使用的字体。 |
| [in] | bold | 指定字体是否为粗体。 |
| [in] | italic | 指定字体是否为斜体。 |
| [in] | alignment | 此元素的对齐方式。 |
| [in] | align_children | 所有子元素的对齐方式。 |
| [in] | element_array | 描述此对话框元素子元素的对象数组。 |
|
static |
指定元素的高度(以字符为单位)。
如果未指定高度,则使用内容的组合高度。
|
static |
指定元素的宽度(以字符为单位)。
如果未指定宽度,则使用内容的组合宽度。
|
static |
此元素使用的字体。
它将是以下字符串之一:
|
static |
指定元素的高度(以像素为单位)。
如果未指定高度,则使用内容的组合高度。
|
static |
指定元素的宽度(以像素为单位)。
如果未指定宽度,则使用内容的组合宽度。